<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
	<th:block th:include="include :: header('新物料入库')" />
</head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
	<form class="form-horizontal m" id="form-post-add">
		<div class="form-group">
			<label class="col-sm-3 control-label is-required">新入库物料编码：</label>
			<div class="col-sm-8">
				<input class="form-control" type="text" name="inventoryCode" id="inventoryCode" required>
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-3 control-label is-required">新入库物料名称：</label>
			<div class="col-sm-8">
				<input class="form-control" type="text" name="inventoryName" id="inventoryName" required>
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-3 control-label is-required">入库数量：</label>
			<div class="col-sm-8">
				<input class="form-control" type="text" name="inventoryNumber" id="inventoryNumber" required>
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-3 control-label">备注：</label>
			<div class="col-sm-8">
				<textarea id="remark" name="remark" class="form-control"></textarea>
			</div>
		</div>
	</form>
</div>
<th:block th:include="include :: footer" />
<script type="text/javascript">
	var prefix = ctx + "system/kcgl";


	function submitHandler() {
		if ($.validate.form()) {
			$.operate.save(prefix + "/addSave", $('#form-post-add').serialize());
		}
	}
</script>
</body>
</html>
